package com.com;

public class Child extends Father {

	@Override
	public synchronized void doSomething() {
		System.out.println("Enter Child.doSomething()");
		System.out.println("Print Child.doSomething()");
		super.doSomething();
		
		try {
			Thread.sleep(3000);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		
		System.out.println("Exit Child.doSomething()");
	}
}
